package com.luoqiu.cinema.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
public class MovieEvaluate {

    private Integer uid;

    private Integer id;

    /**
    * 评价时间
    */
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date releaseTime;

    /**
    * 评价内容
    */
    private String releaseContent;

    /**
    * 发布人id
    */
    private Integer evaluateId;

    /**
    * 对应的电影id
    */
    private Integer movieId;
}
